public class Test2 {
    class Student{
        public String id;
        public Student(String id){
            this.id = id;
        }
    }

    public void main(String[] args) {
        Student student =  new Student("123456");
        int hashCode = student.hashCode();
        System.out.println(hashCode);
    }
}
